import com.mesa.android.avatalk.base.AvatalkBaseViewModelimport com.kunminx.architecture.ui.callback.UnPeekLiveData/** * Author:[author] * Date: [date] * Description: */class [name]ViewModel(private val repository: [name]Repository) : AvatalkBaseViewModel() {    val datalist = ObservableArrayList<[model]>()    val itemClick: (resId:Int,bean:[model])->Unit = { resId,bean ->    }        /**     * [api_comment]     */    val [method_name]LiveData = UnPeekLiveData<ListModel<Any>>()        /**     * [api_comment]     */    fun [method_name]([vm_params]) {        repository.[method_name](viewModel = this, [vm_call_params] listModel = [method_name]LiveData)    }}